package org.jeecg.modules.degression.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.degression.pojo.MlccPricesystemFactoryCategory;
import org.springframework.stereotype.Repository;

/**
 * 工厂价格体系Mapper
 */
@Mapper
@Repository
public interface FactoryCategoryMapper extends BaseMapper<MlccPricesystemFactoryCategory> {

    /**
     * 供应商查询成本项列表
     *
     * @param page         分页器
     * @param category     类别
     * @param businessType 业务类型
     * @param userid       供应商ID
     */
    IPage<MlccPricesystemFactoryCategory> listPrice2(@Param("page") Page<MlccPricesystemFactoryCategory> page,
                                                     @Param("category") Integer category, @Param("businessType") Integer businessType,
                                                     @Param("userid") String userid);
}
